//
//  SendMessageView.h
//  Yihubang
//
//  Created by xmy on 16/9/7.
//  Copyright © 2016年 jinghao. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "XHMessageTextView.h"
typedef NS_ENUM(NSInteger, CommendType) {
    CommendType_News = 0,
    CommendType_News_reply ,
    CommendType_Cule,
    CommendType_Cule_Reply,
    CommendType_Help,
    CommendType_Help_Reply,
};

@protocol sendSuccessDelegate

@optional
-(void)sendSuccessThisMessage:(BOOL)success;


@end
@interface SendMessageView : UIView
@property (weak, nonatomic) IBOutlet UIView *backView;
@property (weak, nonatomic) IBOutlet UIView *faceImgView;
@property (weak, nonatomic) IBOutlet XHMessageTextView *message_view;
@property (weak, nonatomic) IBOutlet UIButton *sendMessage;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *faceView_height;
@property (weak, nonatomic) IBOutlet UIButton *faceViewShow_btn;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *textView_bottom;
@property (weak, nonatomic) IBOutlet UIView *SendTextView;
@property (strong,nonatomic) id sbInfo;
@property (assign,nonatomic) CommendType commendType;
@property (nonatomic) id<sendSuccessDelegate> delegate;
@end
